import request from '@/utils/request'

export async function toauditList(params) {
  const response = await request({
    url: '/excel/approve',
    method: 'get',
    params
  })
  return response.data
}

export async function auditDetail(excelId) {
  const response = await request({
    url: `/excel/approve/${excelId}`,
    method: 'get'
  })
  return response.data
}

export function submit(params, data) {
  return request({
    url: '/excel/approve',
    method: 'post',
    params,
    data
  })
}
